package com.cssl.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName found
 */
@TableName(value ="found")
@Data
public class Found implements Serializable {
    /**
     * 编号
     */
    @TableId(type = IdType.AUTO)
    private Integer fid;

    /**
     * 招领用户id
     */
    private Integer f_uid;

    /**
     * 拾到地址
     */
    private String foundaddress;

    /**
     * --联系电话 
     */
    private String foundphone;

    /**
     * 标题
     */
    private String foundtitle;

    /**
     * 详情
     */
    private String founddetail;

    /**
     * 招领日期
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date founddate;

    /**
     * 招领宠物照片
     */
    private String foundfile;

    private Integer f_bid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}